CC = gcc
PROM = bintree
OBJ = bin_tree.o main.o
DEPS = bin_tree.h

$(PROM) : $(OBJ)
	$(CC) -o $(PROM) $(OBJ)

%.o : %.c $(DEPS)
	$(CC) -c $< -o $@

clean:
	rm -rf $(PROM) $(OBJ)